# -*- coding: utf-8 -*-


def test1():
    I = []

    for i in xrange(10):
        I.append({'num': i})

    print I


def test2():
    I = []
    a = {'num': 0}
    for i in xrange(10):
        a['num'] = i
        I.append(a)
    print I


test1()
test2()

